package com.itheima.service;

import com.itheima.entity.Record;
import com.itheima.entity.Result;

import java.util.List;
import java.util.Map;

public interface OrderService {
    public Result order(Map map) throws Exception;
    public Map findById(Integer id) throws Exception;

    //获取两个日期之间的数据
    List<Record> getAllSetmealByPhoneNumber(String phoneNumber, String fistDate, String lastDate);

    //根据id查询相关信息
    Result findRecordDetailById(Integer id);
}
